package com.weiyun.shortlink.admin.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/***
 *   @Author:weiyun
 *
 */

@Data
@Component
@ConfigurationProperties(prefix = "short-link.flow-limit")
public class UserFlowRiskControllerConfiguration {
    private Boolean enable;
    private String timeWindow;
    private Long maxAccessCount ;

}
